/**
 *
 */
package denkmalVerwaltungstool.GUI;

import java.awt.BorderLayout;
import java.awt.Container;

import javax.swing.JTabbedPane;

import denkmalVerwaltungstool.GUI.elements.MainMenuBar;

/**
 * $Author: vinculum $
 * $Revision: 1.5 $
 *
 */
public class Mainwindow extends javax.swing.JFrame {

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;
	
	private LogTab log;

	/**
	 */
	private MainMenuBar menu;

	/**
	 *
	 */
	private BorderLayout layout;

	/**
	 *
	 */
	public Mainwindow(){
		super("Denkmal Tool");
		this.setLayout(this.layout);
		this.setSize(800, 600);
		this.setVisible(true);
		this.log = new LogTab();
		JTabbedPane tabholder = new JTabbedPane();
		Container cp = this.getContentPane();
		
		cp.setLayout(new BorderLayout());
		cp.add(tabholder);
		tabholder.add("Log", this.log);
		tabholder.setVisible(true);
		this.menu = new MainMenuBar();
		this.add(menu);

	}

}
